package com.imooc.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.imooc.entity.Book;

public interface BookService {
    public IPage<Book> paging(Long categoryId, String order, Integer page, Integer rows);

    Book getById(Long bookId);

    public void updateEvaluation();

    public Book createBook(Book book);

    public void updateBook(Book book);

    void deleteById(Long bookId);
}
